From 234d20641c2570498c3d81239f8466ccaf34c557 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 2 Jan 2022 21:35:00 -0500 Subject: [PATCH] fontbutton: Pass the fontmap to the dialog --- gtk/gtkfontbutton.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c index 1816ec2810..4dea9b09f4 100644 --- a/gtk/gtkfontbutton.c +++ b/gtk/gtkfontbutton.c @@ -433,6 +433,8 @@ gtk_font_button_font_chooser_set_font_map (GtkFontChooser *chooser, context = gtk_widget_get_pango_context (font_button->font_label); pango_context_set_font_map (context, font_map); + if (font_button->font_dialog) + gtk_font_chooser_set_font_map (GTK_FONT_CHOOSER (font_button->font_dialog), font_map); } } -- 2.30.2